<!--
	This file is part of ELCube.
	ELCube is free software: you can redistribute it and/or modify
	it under the terms of the GNU Affero General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.
	ELCube is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU Affero General Public License for more details.
	You should have received a copy of the GNU Affero General Public License
	along with ELCube.  If not, see <https://www.gnu.org/licenses/>.
-->
<template>
    <nk-def-card>
        <nk-form :col="1" :edit="editMode">
          <nk-form-item title="默认名称EL" :width="140">
            {{def.docNameDefaultSpEL}}
            <nk-sp-el-editor slot="edit" v-model="def.docNameDefaultSpEL" style="max-width:300px;"></nk-sp-el-editor>
          </nk-form-item>
            <nk-form-item title="数据有效期" :width="140">
                {{def.expire}}
                <a-input slot="edit" v-model="def.expire" size="small" placeholder="Y,M,D,h,m,s"></a-input>
            </nk-form-item>
<!--            <nk-form-item title="通知条件[*]" :width="140">-->
<!--                {{def.noticePrecondition}}-->
<!--                <nk-sp-el-editor slot="edit" v-model="def.noticePrecondition" placeholder="通知回调触发条件"></nk-sp-el-editor>-->
<!--            </nk-form-item>-->
<!--            <nk-form-item title="通知URL[*]" :width="140">-->
<!--                {{def.noticeUrl}}-->
<!--                <a-input slot="edit" v-model="def.noticeUrl" size="small" placeholder="通知回调的URL地址"></a-input>-->
<!--            </nk-form-item>-->
        </nk-form>
    </nk-def-card>
</template>

<script>
    import MixinDef from "MixinDef";

    export default {
        mixins:[new MixinDef({})],
        computed:{
        },
        created() {
        }
    }
</script>

<style scoped>

</style>